﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Template/destajo.master" CodeBehind="DES001.aspx.vb" Inherits="DESTAJO.DES001" title="Labor Empaque" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">   
   
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="0" cellspacing="0" width="700px" >
        <tr style="height:20px">
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="3">
                <asp:Label ID="Label1" runat="server" Text="REGISTRO DE TARIFAS ESPARRAGO" 
                    EnableViewState="False" SkinID="Titulo"></asp:Label>
            </td>
        </tr>
        <tr>
            <td height="20">
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr style="height:20px">
            <td align="center" colspan="3">
                <asp:DropDownList ID="ddlEmpaque" runat="server" Width="150px" SkinID="Lista">
                </asp:DropDownList>
            </td>
        </tr>
        <tr style="height:20px">
            <td height="20">
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="btnNuevo" runat="server" Text="Nuevo" SkinID="Nuevo" 
                    Width="85px" />
&nbsp;
                <asp:Button ID="btnGuardar" runat="server" Text="Guardar" SkinID="Grabar" 
                    Width="90px" />
&nbsp;
                <asp:Button ID="btnEjecutar" runat="server" Text="Ejecutar" SkinID="Buscar" 
                    Width="87px" />
            </td>
            <td align="right">
                <asp:Button ID="btnRegresar" runat="server" Text="Regresar" SkinID="Regresar" 
                    Width="89px" />
            </td>
        </tr>
        <tr>
            <td colspan="2" height="20">
                &nbsp;</td>
            <td align="right">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:Label ID="Label2" runat="server" Text="TARIFA NRO: " Width="120px" 
                    EnableViewState="False" SkinID="Texto"></asp:Label>
                <asp:Label ID="lblTarifa" runat="server" SkinID="Texto"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:Label ID="lblLabores" runat="server" SkinID="Tabla"></asp:Label>
            </td>
        </tr>
        <tr>
            <td height="20">
                &nbsp;</td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Text="FECHA VIGENCIA DESDE:" 
                    Width="140px" SkinID="Texto"></asp:Label>
                <asp:TextBox ID="TextBox1" runat="server" SkinID="Fecha"></asp:TextBox>
                <asp:Button ID="btnFecInicio" runat="server" CausesValidation="False" 
                    SkinID="Calendar" />
            </td>
            <td>
                <asp:Label ID="Label4" runat="server" Text="FECHA VIGENCIA HASTA:" 
                    SkinID="Texto" Width="140px"></asp:Label>
                <asp:TextBox ID="txtFecFin" runat="server" SkinID="Fecha"></asp:TextBox>
                <asp:Button ID="btnFecFin" runat="server" CausesValidation="False" 
                    SkinID="Calendar" />
            </td>
            <td>
                <asp:Label ID="Label5" runat="server" Text="ESTADO:" SkinID="Texto" 
                    Width="60px"></asp:Label>
                <asp:DropDownList ID="ddlEstado" runat="server" SkinID="Lista" Width="80px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td height="20">
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td colspan="3" height="20">
                <asp:Label ID="Label6" runat="server" SkinID="Sub-Titulo" 
                    Text="TARIFA DE DESTAJO: GRUPO DE TRABAJADORES ASIGNADOS A LA PLANTA"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="3" height="20">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:UpdatePanel ID="upTarifaDestajo" runat="server">
                    <ContentTemplate>
                        <table cellpadding="0" cellspacing="0" class="tabla1">
                            <tr>
                                <td>
                                    <asp:GridView ID="gvTarifa" runat="server" 
                AutoGenerateColumns="False" SkinID="Listado" Width="600px">
                                        <Columns>
                                            <asp:BoundField DataField="Nivel" HeaderText="NIVEL">
                                                <HeaderStyle Width="80px" />
                                            </asp:BoundField>
                                            <asp:TemplateField HeaderText="META DESDE">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txtMetaDesde" runat="server" 
                                SkinID="Input" Text='<%#Eval("MetaDesde")%>' Width="50px"></asp:TextBox>
                                                </ItemTemplate>
                                                <HeaderStyle Width="100px" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="META HASTA">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txtHasta" runat="server" SkinID="Input" 
                                Text='<%#Eval("MetaHasta")%>' Width="50px"></asp:TextBox>
                                                </ItemTemplate>
                                                <HeaderStyle Width="100px" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="BONO S/.">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txtBono" runat="server" SkinID="Input" 
                                Text='<%#Eval("Bono")%>' Width="60px"></asp:TextBox>
                                                </ItemTemplate>
                                                <HeaderStyle Width="100px" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="DESTAJO S/.">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txtDestajo" runat="server" SkinID="Input" 
                                Text='<%#Eval("Destajo")%>' Width="60px"></asp:TextBox>
                                                </ItemTemplate>
                                                <HeaderStyle Width="220px" />
                                            </asp:TemplateField>
                                        </Columns>
                                    </asp:GridView>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Button ID="btnAgregarNivel" runat="server" 
                SkinID="Nuevo" Text="Agregar Nivel" />
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>